package com.example.demo.qy.model;

import com.example.demo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "qy_role")
public class Role extends BaseEntity {

    @ApiModelProperty(value = "角色名 以ROLE_开头")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
